<?php

declare(strict_types=1);
/**
 * This file is part of Hyperf.
 *
 * @link     https://www.hyperf.io
 * @document https://hyperf.wiki
 * @contact  group@hyperf.io
 * @license  https://github.com/hyperf/hyperf/blob/master/LICENSE
 */

namespace App\Utils\Enum;

class RedisEnum
{
    public const string CHANNEL_SOURCE_QUEUE = 'channel:source:queue';

    public const string CHANNEL_GAME_STATE = 'channel:game:state';

    public const string PREFIX_ROOM_CHAT = 'room:chat:';

    public const string PREFIX_TOKEN = 'token:'; // token前缀

    public const string USER_ONLINE = 'online'; // 在线用户hash

    public const string PREFIX_CAPTCHA = 'capt:';
}
